#ifndef DSP_DHT11_H_
#define DSP_DHT11_H_

#include "stm32f10x.h"


#define DHT11_GPIO_CLK      RCC_APB2Periph_GPIOC
#define DHT11_GPIO_PORT    	GPIOC
#define DHT11_GPIO_PIN		  GPIO_Pin_0

#define DHT11_Send  PCout(0)
#define DHT11_Reci   PCin(0) 

typedef struct
{
	float temp;
	float humi;
}TYPE_DHT11;
extern TYPE_DHT11  DHT11;


void DHT11_GPIO_Config(void);
uint8_t ReadDHT11 (void);



#endif

